class WelcomeController < ApplicationController
  skip_before_filter :authorize, :only => :index
  
  def index
    if session[:autentikoitu]
      @user_now = User.find(session[:autentikoitu])
    else
      @user_now = nil
    end
    @user = User.new
    @new_course = Course.new
    @courses = Course.latest_in_order
  end
  
  def goodbye
    
  end
end
